package com.example.project.projectspringcloud.dao.user;

import com.example.project.projectspringcloud.dao.BaseMapper;
import com.example.project.projectspringcloud.entity.user.Comment;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 * 用户评论Mapper
 */
@Mapper
@Repository
public interface CommentMapper extends BaseMapper<Comment> {

    /**
     * 获取评论数量
     * ==============================================================================
     *
     * @param comment
     * @return
     */
    int count(Comment comment);
}